package com.hksj.Intelligentmanagement.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class DictDTO extends BaseDTO {
    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("父id")
    private String pid;

    @ApiModelProperty("字典名称")
    private String name;

    @ApiModelProperty("字段名")
    private String property;

   /* @ApiModelProperty("等级")
    private Integer level;*/

    @ApiModelProperty("字典状态（0关闭，1开启）")
    private String state;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("字典字段子项信息")
    private List<DictChildDTO> list;
}
